<include file="Public:header" />
<script language=javascript src="__PUBLIC__/Js/wpCalendar.js"></script>
    <link rel="stylesheet" href="__PUBLIC__/layui/build/css/layui.css">
    <script src="__PUBLIC__/layui/build/layui.js" charset="utf-8"></script>
<style>
 th,td{ padding: 3px; word-break: break-all;}
 @media( max-width: 624px){
        .laydate_box{ left: 50% !important; margin-left: -120px !important; }
    }
</style>
<!--时间选择-->
    <script>
        layui.use('laydate', function(){
            var laydate = layui.laydate;
            var start = {
                min: laydate.now()
                ,max: '2099-06-16 23:59:59'
                ,istoday: false
                ,choose: function(datas){
                    end.min = datas; //开始日选好后，重置结束日的最小日期
                    end.start = datas //将结束日的初始值设定为开始日
                }
            };
            var end = {
                min: laydate.now()
                ,max: '2099-06-16 23:59:59'
                ,istoday: false
                ,choose: function(datas){
                    start.max = datas; //结束日选好后，重置开始日的最大日期
                }
            };

        });
    </script>
    <!--时间选择END-->
<div class="accounttitle">
        <h1>奖金查询 </h1></div>
<div class="ncenter_box">
        <form id="form1" name="form1" method="post" action="__APP__/Bonus/financeTable" style="padding: 10px;">
            <table width="100%" align="center">
                <tr>
                    <td>会员编号：
                    </td>
                    <td>
                        <input type="text" name="UserID" placeholder="帐号查询" style=" border: 1px solid #c1c2c2;padding: 8px 0;text-indent: 15px;border-radius: 5px;    width: 100%;">
                        <!-- <input name="UserID" type="text" id="UserID" title="帐号查询" maxlength="200"> -->
                    </td>
                    <td>
                        <input type="submit"  value="查询" style="padding: 8px 12px; background: #b13a33;color: #fff;border-radius: 5px">
                        <!-- <input type="submit" name="Submit" value="搜索" class="ui negative basic mini btn button_text" /> -->
                    </td>
                </tr>
            </table>
        </form>
    <table width="100%" class="tab3" border="0" cellpadding="3" cellspacing="1" id="tb1" bgcolor="#b9c8d0">
        <thead>
            <tr>
                <th><span>开始时间</span></th>
                <th><span>结束时间</span></th>
                <th ><span>{$fee_s7[0]}</span></th>
                <th ><span>{$fee_s7[1]}</span></th>
                <th ><span>{$fee_s7[2]}</span></th>
                <!--<th ><span>{$fee_s7[3]}</span></th>
                <th ><span>{$fee_s7[4]}</span></th>
                <th ><span>{$fee_s7[5]}</span></th>
                <th ><span>{$fee_s7[6]}</span></th>-->
                 <!--<th {$c_b[8]}><span>{$fee_s7[7]}</span></th>
                <th {$c_b[9]}><span>{$fee_s7[8]}</span></th>-->
               <!-- <th {$c_b[10]}><span>{$b_b[10]}</span></th>
                <th {$c_b[11]}><span>{$b_b[11]}</span></th>
                <th {$c_b[13]}><span>{$b_b[13]}</span></th>-->
                <th ><span>{$b_b[0]}</span></th>
                <!--<th ><span>状态</span></th>-->
                <th ><span>{$b_b[12]}</span></th> 
            </tr>
        </thead>
        <volist name='list' id='vo'>
            <tr align="center">
                <td>{$vo['s_date']|date='Y-m-d H:i:s',###}</td>
                <td>{$vo['e_date']|date='Y-m-d H:i:s',###}</td>
                <td >{$vo['b1']}</td>
                <td >{$vo['b2']}</td>
                <td >{$vo['b3']}</td>
                <!--<td >{$vo['b4']}</td>
                <td >{$vo['b5']}</td>
                <td>{$vo['b6']}</td>-->
                <!-- <td>{$vo['b7']}</td>-->
                <!-- <td {$c_b[8]}>{$vo['b8']}</td>
                <td {$c_b[9]}>{$vo['b9']}</td>
                <td {$c_b[10]}>{$vo['b10']}</td>
                -->
                <!--<td {$c_b[11]}>{$vo['b1']+$vo['b2']+$vo['b3']+$vo['b4']+$vo['b5']+$vo['b6']+$vo['b7']+$vo['b8']}</td>-->
                <!-- <td >{$vo['b1']+$vo['b2']+$vo['b3']+$vo['b4']+$vo['b5']+$vo['b6']+$vo['b7']+$vo['b8']-$vo['b0']}</td> -->
                <td >{$vo['b0']}</td>

               <!-- <if condition="$vo['is_count_c'] eq 1"><td >奖金已全部发放</td></if>
                <if condition="$vo['is_count_c'] eq 0"><td >奖金未发放</td></if>
                <if condition="$vo['is_count_c'] eq 2"><td >奖金部分发放</td></if>-->

                <td >
                    <a href="__URL__/adminFinanceTableShow/did/{$vo['did']}/" title="查看这一期得奖会员">查看</a>
                    |
                    <a href="__URL__/adminFinanceTableDelete/did/{$vo['did']}/" title="查看这一期得奖会员">删除</a>
                </td>
            </tr>
        </volist>
        <tr align="center">
            <td colspan="2">总计：</td>
            <td >{$count[1]}</td>
            <td >{$count[2]}</td>
            <td >{$count[3]}</td>
            <!--<td >{$count[4]}</td>
            <td >{$count[5]}</td>
            <td >{$count[6]}</td>-->
            <!-- <td >{$count[7]}</td>-->
            <!--<td {$c_b[8]}>{$count[8]}</td>
            <td {$c_b[9]}>{$count[9]}</td>
            <td {$c_b[10]}>{$count[10]}</td> -->
            <!-- <td >{$count[1]+$count[2]+$count[3]+$count[4]+$count[5]+$count[6]+$count[7]+$count[8]}</td>-->
             <!--<td >{$count[1]+$count[2]+$count[3]+$count[4]+$count[5]+$count[6]+$count[7]+$count[8]-$count[0]}</td>-->
            <td >{$count[0]}</td>
            <!--<td ></td>-->
            <td ></td> 
        </tr>
    </table>
    <form id="form1" name="form1" method="post" action="__URL__/adminFinanceTable" style="padding: 10px;">
        <table width="100%" class="tab3_bottom" border="0" cellpadding="0" cellspacing="1">
            <tr>
                <td> 奖金日期：</td>
                <td class="tabletd">
                    <input name="FanNowDate" type="text" id="FanNowDate" readonly value="{$FanNowDate}" onclick="layui.laydate({elem: this, festival: true})" style=" border: 1px solid #c1c2c2;padding: 8px 0;text-indent: 15px;border-radius: 5px;    width: 100%;"/>
                    <!-- <input name="FanNowDate" type="text" id="FanNowDate" onFocus="showCalendar(this)" readonly /> -->

                </td>
                <td colspan="25">
                    <input type="submit"  value="查询" style="padding: 8px 12px; background: #b13a33;color: #fff;border-radius: 5px">
                   <!--  <input type="submit" name="Submit" value="查询" class="ui negative basic mini btn button_text" /> -->
                </td>
            </tr>
            <tr>
                <td colspan="25" align="right">
                   <!--  <input name="button3" type="button" onclick="window.location.href='__URL__/financeDaoChu_JJCX/p/{$PP}/'" value="导出Excel" class="ui negative basic mini btn button_text" /> -->
                </td>
            </tr>
            <tr>
                <td colspan="25">{$page}</td>
            </tr>
        </table>
    </form>
<div style="height: 60px;"></div>
</div>
<script>
new TableSorter("tb1");
</script>
<include file="Public:footer" />
